Repository navigation
fix(ci): remove all cron schedules from GitHub Actions workflows (#694) - #695
Merged
Merged
Conversation
Obliterates every schedule/cron trigger from all workflow files and their template copies. No cron jobs will ever run in this repo again. Use `squad watch` for local polling or event-driven triggers only. Closes #694 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Removes all GitHub Actions cron/schedule triggers from the repo’s active workflows and the mirrored workflow templates, aligning with the “no cron jobs — ever” policy and reducing unwanted CI runs.
Changes:
- Removed the
on.schedule/crontrigger fromsquad-heartbeat.ymlin all template/workflow copies. - Removed the weekly scheduled trigger from the docs link-check workflow.
- Leaves event-driven triggers and
workflow_dispatchintact.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/squad-docs-links.yml |
Removes weekly cron trigger for link checking. |
.github/workflows/squad-heartbeat.yml |
Removes 30-minute cron trigger; retains event/manual triggers. |
templates/workflows/squad-heartbeat.yml |
Removes cron trigger from workflow template. |
.squad-templates/workflows/squad-heartbeat.yml |
Removes cron trigger from canonical template copy. |
packages/squad-cli/templates/workflows/squad-heartbeat.yml |
Removes cron trigger from CLI template copy. |
packages/squad-sdk/templates/workflows/squad-heartbeat.yml |
Removes cron trigger from SDK template copy. |
| @@ -1,8 +1,6 @@ | |||
| name: Docs — Weekly Link Check | |||
There was a problem hiding this comment.
Workflow is no longer scheduled, but the name: still says “Weekly Link Check”. Consider renaming to something schedule-agnostic (or adding a note) so it doesn’t imply a cron trigger still exists.
Suggested change
| name: Docs — Weekly Link Check | |
| name: Docs — Link Check |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Removes every
schedule:/cron:trigger from all 6 workflow files and their template copies.Why
Cron-triggered workflows cause unwanted CI runs, quota burn, and noise. This is the final removal — cron schedules must never be re-added.
Files changed (6 files, 22 deletions, 0 additions)
.github/workflows/squad-docs-links.yml— removed weekly Monday cron.github/workflows/squad-heartbeat.yml— removed 30-minute heartbeat crontemplates/workflows/squad-heartbeat.yml— template copy.squad-templates/workflows/squad-heartbeat.yml— template copypackages/squad-cli/templates/workflows/squad-heartbeat.yml— CLI package templatepackages/squad-sdk/templates/workflows/squad-heartbeat.yml— SDK package templateWhat stays
squad watchfor local pollingCloses #694